const TARGET = process.env.npm_lifecycle_event;

if (TARGET === 'test-life') {
    console.log(`Running the test task!`);
}

if (TARGET === 'pretest-life') {
    console.log(`Running the pretest task!`);
}

if (TARGET === 'posttest-life') {
    console.log(`Running the posttest task!`);
}